package com.huixue.cn.ztej.bean;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

import com.huixue.cn.ztej.utils.annotation.MyBatisDomain;

@MyBatisDomain
public class Resource implements Serializable {
	
	private static final long serialVersionUID = -590294415027931332L;
	
	private int resourceId;
	
	private String resUrl;
	
	private String resName;
	
	private String resDesc;
	
	private int parentId;
	
	private int type;
	
	private int indexNum;
	
	private int havechild;
	
	private List<Resource> list;
	
	private List<RoleResource> rRoleList;

	public int getResourceId() {
		return resourceId;
	}

	public void setResourceId(int resourceId) {
		this.resourceId = resourceId;
	}

	public String getResUrl() {
		return resUrl;
	}

	public void setResUrl(String resUrl) {
		this.resUrl = resUrl;
	}

	public String getResDesc() {
		return resDesc;
	}

	public void setResDesc(String resDesc) {
		this.resDesc = resDesc;
	}

	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getIndexNum() {
		return indexNum;
	}

	public void setIndexNum(int indexNum) {
		this.indexNum = indexNum;
	}

	public List<Resource> getList() {
		return list;
	}

	public void setList(List<Resource> list) {
		this.list = list;
	}

	public int getHavechild() {
		return havechild;
	}

	public void setHavechild(int havechild) {
		this.havechild = havechild;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public List<RoleResource> getrRoleList() {
		return rRoleList;
	}

	public void setrRoleList(List<RoleResource> rRoleList) {
		this.rRoleList = rRoleList;
	}
	
	
}
